from jsonpath import jsonpath
import json

if __name__ == '__main__':
    with open("test.json", "r", encoding="utf-8") as fp:
        content = json.load(fp)
        result = jsonpath(content, '$.data.name')
        print(type(result))
